﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RaygunDiplomacy.Model.Terrain.Local
{
   public class Cell
   {
      public CellTemplate CellTemplate { get; private set; }

      public Cell(CellTemplate cellTemplate, float density)
      {
         this.CellTemplate = cellTemplate;
         this.Density = density;
      }

      public float Density { get; private set; }

      public static bool IsNullOrAir(Cell cell)
      {
         return cell == null || cell.CellTemplate == CellTemplate.AirCell;
      }
   }
}
